package com.acme;

public class AppClient {

	public static void main(final String[] args) {
		ClientDaoImpl clientDao = new ClientDaoImpl();
		Client client = new Client();
		
		Object proxy = TransactionManager.applyTransactionDemarcation(clientDao);
		ClientDao cDao= (ClientDao)proxy;
		cDao.add(client);
	}
}
